<template>
  <div class="bpmn-opt">
    <button @click="onBack">返回</button>
    <button @click="onSave">保存</button>
  </div>
</template>

<script>
export default {
  name: "BpmnOpt",
  methods: {
    onBack () {
      this.$emit("back")
    },
    onSave () {
      this.$emit("save")
    }
  }
}
</script>

<style lang="scss">
.bpmn-opt {
  button {
    margin-right: 10px;
    padding: 10px;
  }
}
</style>